package com.dom.api.sale;

import com.dom.common.model.standard.ResponseModel;
import com.dom.common.model.vo.sale.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("/invo/sale")
public interface MarketBackApi {

    @RequestMapping(value = "/insertMarketBack",method = RequestMethod.POST)
    String insertMarketBack(@RequestBody M050R request);

    @RequestMapping(value = "/getMarketBackList",method = RequestMethod.POST)
    M059A getMarketBackList(@RequestBody M059R request);

    @RequestMapping(value = "/findUpdateMarketBack",method = RequestMethod.POST)
    M053A findUpdateMarketBack(@RequestParam("id") String id);

    @RequestMapping(value = "/marketBackDel",method = RequestMethod.POST)
    boolean marketBackDel(@RequestParam("id") String id);

    @RequestMapping(value = "/marketBackModify",method = RequestMethod.POST)
    ResponseModel marketBackModify(@RequestBody M052R request);
}
